package com.deep.bilibili.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.Map;

@Component
@ConfigurationProperties(prefix = "live")
public class LiveConfig {

    private Map<String, String> rtmp;
    private Map<String, String> hls;
    private Map<String, String> flv;
    private Map<String, String> webrtc;

    public Map<String, String> getRtmp() {
        return rtmp;
    }

    public void setRtmp(Map<String, String> rtmp) {
        this.rtmp = rtmp;
    }

    public Map<String, String> getHls() {
        return hls;
    }

    public void setHls(Map<String, String> hls) {
        this.hls = hls;
    }

    public Map<String, String> getWebrtc() {
        return webrtc;
    }

    public void setWebrtc(Map<String, String> webrtc) {
        this.webrtc = webrtc;
    }

    public Map<String, String> getFlv() {
        return flv;
    }

    public void setFlv(Map<String, String> flv) {
        this.flv = flv;
    }
}
